package com.hhit.bigscreenbackmanage.dao.aqgl;

import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglRybz;
import com.hhit.bigscreenbackmanage.vo.aqgl.AqglSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AqglRybzDao {

    /**
     * @Description: 批量插入日一本账信息
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 10:37
     * @Param: [aqglRybzList] 
     * @Return: int
     **/
    int batchInsertAqglRybz(@Param("list") List<TAqglRybz> aqglRybzList) throws Exception;

    /**
     * @Description: 分页查询安全管理日一本账信息
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 10:38
     * @Param: [aqglSearchVo] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglRybz>
     **/
    List<TAqglRybz> getAqglRybzPageInfo(AqglSearchVo aqglSearchVo) throws Exception;

    /**
     * @Description: 根据datetime 查询数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 17:59
     * @Param: [datetime] 
     * @Return: java.util.List<java.lang.String>
     **/
    List<String> getAqglRybzByDateTime(@Param("datetime") String datetime) throws Exception;

    /**
     * @Description: 根据主键编号批量删除数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/26 18:00
     * @Param: [ids] 
     * @Return: int
     **/
    int batchDeleteAqglRybzByIds(@Param("ids") List<String> ids) throws Exception;

    /**
     * @Description: 获取日一本账数据
     * @Author: qianchengcheng 
     * @Date: 2021/7/27 13:05
     * @Param: [params] 
     * @Return: java.util.List<com.hhit.bigscreenbackmanage.entity.aqgl.TAqglRybz>
     **/
    List<TAqglRybz> getAqglRybzsByParam(Map<String,Object> params) throws Exception;
}
